SaveCreditCardCallback

A callback that is invoked when the user is prompted to save a credit card to the credit card store.

The callback is invoked when the user submits a form with credit card information (a cardholder name, number, expiration date, CVV/CVC).

This callback is equivalent to the "Save Card?" bubble in Chromium.

Use the save method to save the credit card to the credit card store. All saved credit cards are shown in the suggestion pop-up when focusing the web form control.

Use the decline method to decline to save the credit card. If the current credit card is declined then the callback will be invoked again when submitting a web form with the same credit card.

The callback is not invoked if autofill is disabled.

Inheritors

Types

Link copied to clipboard
An action providing a response to the SaveCreditCardCallback.
Link copied to clipboard
interface Params
The parameters of the SaveCreditCardCallback.

Functions

Link copied to clipboard
abstract fun on(params: P, tell: R)
Invoked when the callback needs a response for the given callback parameters.